import { defineComponent, openBlock, createBlock } from 'vue';

var script = defineComponent({
    name: "WButton"
});

function render(_ctx, _cache, $props, $setup, $data, $options) {
  return (openBlock(), createBlock("button", null, "按钮"))
}

script.render = render;
script.__file = "packages/button/src/button.vue";

script.install = (app) => {
    // 全局注册组件
    console.log('button组件注册全局');
    app.component(script.name, script);
};
let _Button = script;
// createApp({}).use(_Button); // use调用，需要组件提供install方法

export default _Button;
